<table class="datagrid" id="ajPaymentDataGrid">
  <thead class="datagrid">
    <tr>
      <th style="width:20px;">Date</th>
      <th style="width:20px;">Payment#</th>
      <th style="width:200px;">Name</th>
      <th style="width:50px;">Cash</th>
      <th style="width:50px;">Check</th>
      <th style="width:50px;">Invoice</th>
      <th style="width:50px;">UnApplied</th>
      <th style="width:20px;">Void</th>
      <th style="width:16px;"></th>
    </tr>
  </thead>
  <tbody class="datagrid">
    <?php foreach($payments as $payment):?>
    <tr id="row_payment_<?php echo $payment->getPaymentIden()?>">
      <?php include_partial('payment_grid_td',array('payment'=>$payment,))?>
    </tr>
    <?php endforeach;?>
  </tbody>
</table>
